export default function () {
  return [<#list module.queryFields as field><#if (field.constraint.queryType)??>{
	<#if field.type.simpleJavaType == 'Date'>
    type: 'DatePicker',
    <#elseif (field.constraint.controlType)?? && field.constraint.controlType=='Select'>
    type: 'Select',
    optionList: [<@opt optionParams=field.constraint.optionParams indent=4 />],
	<#else>
    type: 'Input',
	</#if>
    label: '${field.explain}',
    name: 'search${field.name}'
  }<#if field_has_next>, </#if></#if></#list>]
}